<template>
	<view class="customed-list">
		<view class="customed-list_item" v-for="index in 10" :key="index"
			@click="$rui.route('/pages/trip/guide/guide')">
			<view class="customed-list_item_head">
				<view class="customed-list_item_head_title">
					全域玩家
				</view>
				<view class="customed-list_item_head_tag">
					家庭出行
				</view>
			</view>
			<view class="customed-list_item_body">
				<view class="customed-list_item_body_user">
					<view class="customed-list_item_body_user_name">
						覃海
					</view>
					<view class="customed-list_item_body_user_tag">
						自然文化崇尚者
					</view>
				</view>
				<view class="customed-list_item_body_info">
					<view class="customed-list_item_body_info_item">
						主营新疆
					</view>
					<view class="customed-list_item_body_info_item">
						4.8分
					</view>
					<view class="customed-list_item_body_info_item">
						从业11年
					</view>
				</view>
				<view class="customed-list_item_content">
					南方人在新疆第9年，身体和灵魂总有个在路上。
				</view>
			</view>

			<image class="customed-list_item_img" src="/static/images/service.png" mode="heightFix"></image>
		</view>
	</view>
</template>

<script>

</script>

<style lang="scss" scoped>
	.customed-list {
		&_item {
			border-radius: 15rpx;
			background: #fff;
			margin: 20rpx;
			overflow: hidden;
			position: relative;
			background-image: radial-gradient(circle at bottom right, #d6fbff, #fff, #fff, #fff);

			&_img {
				height: 300rpx;
				position: absolute;
				bottom: 0;
				right: 0;
			}

			&_content {
				margin-top: 30rpx;
				width: 60%;
				position: relative;
				z-index: 2;
			}

			&_body {
				padding: 20rpx;
				position: relative;
				z-index: 2;

				&_info {
					display: flex;
					align-items: center;
					line-height: 22rpx;
					margin-top: 20rpx;

					&_item {
						border-left: 1rpx solid #eee;
						padding-left: 20rpx;
						margin-left: 20rpx;

						&:first-child {
							border-left: none;
							margin-left: 0;
							padding-left: 0;
							font-weight: bold;
						}
					}
				}

				&_user {
					margin-top: 10rpx;
					display: flex;
					align-items: center;

					&_name {
						font-size: 38rpx;
						font-weight: bold;
						margin-right: 10rpx;
					}

					&_tag {
						background: #f7f8f9;
						font-size: 24rpx;
						padding: 2rpx 10rpx;
						border-radius: 5rpx;
						color: #999;
					}
				}
			}

			&_head {
				padding: 20rpx;
				background: linear-gradient(to right, #f1fbff, #fff, #fff);
				display: flex;
				align-items: center;

				&_title {
					color: var(--color);
					font-weight: bold;
					font-size: 32rpx;
					margin-right: 10rpx;
				}

				&_tag {
					color: var(--color);
					font-size: 24rpx;
					&::before {
						content: "·";
					}
				}
			}
		}
	}
</style>